package com.zy.dp.proxy.example2;

public class Client
{
	public static void main(String[] args)
	{
		OrderApi order = new OrderProxy(new Order("Design pattern", 70, "Lucy"));

		order.setOrderNum(123, "Lily");
		System.out.println(order);

		order.setOrderNum(80, "Lucy");
		System.out.println(order);

	}
}
